import { createRouter, createWebHistory } from 'vue-router'


const routes = [
  {
    path: '/toutiao',
    component: ()=>import('@/views/toutiao_news')
  },
  {
    path: '/category',
    component: ()=>import('@/views/category_news')  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
